home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 4 / Meeting Pearls Vol. IV (1996)(GTI - Schatztruhe)[!].iso / Pearls / dev / Misc / MyStrip / MyStrip.doc < prev    next >
Text File  |  1994-03-01  |  1KB  |  32 lines

  1.         MYSTRIP V1.0
  2.                ==============
  3.  
  4. This little program tries to strip all symbol and debug hunks from
  5. an AmigaDOS EXECUTABLE. It DOES NOT WORK on gcc object (.o,.a) files !
  6. As GCC adds many symbol (and debug) infos even to the AmigaDOS
  7. executable and there ist actually no debugger around, that could use
  8. these informations, it's probably a good idea to remove these infos.
  9. They don't carry ANY information, the executable needs to be run.
  10.  
  11. The program: 
  12. ------------
  13. Included is the source and the executable (mystrip.c, mystrip)
  14. Simply call it as follows: 
  15.     mystrip in [out]
  16. It reads "in" and write the stripped executable to "out".
  17. If "out" is not given, stdout is used.
  18.  
  19. Well: NEVER type: mystrip foo foo, as this will kill "foo"!
  20.  
  21. The program prints out the numbers of symbols stripped, if "out" is given.
  22.  
  23. I tested it on several executables, including cc1, gcc, sed, awk, etc.
  24. No error ever occured.
  25. Nontheless: NO WARRANTY IS GIVEN, that this program will work probably!
  26.             So, USE IT AT YOUR OWN RISK!!!!
  27.  
  28. The Source is included and may be changed by anyone.
  29. Indeed is this program a more quick-and-dirty hack and could be enhanced
  30. quite a bit.
  31.  
  32.